home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 1089 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.6 KB

  1. Path: fido.asd.sgi.com!austern
  2. From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Is RTTI required if polymorphic constructor exists
  5. Date: 15 Apr 1996 09:36:42 PDT
  6. Organization: Comp Sci, University of Melbourne
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <4kr21b$6ar@mulga.cs.mu.OZ.AU>
  9. References: <4kng7f$kt9@nuscc.nus.sg>
  10. NNTP-Posting-Host: isolde.mti.sgi.com
  11. X-Original-Date: 14 Apr 1996 14:27:55 GMT
  12. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  13.     iQBVAwUBMXJ7G0y4NqrwXLNJAQEm9gIAipNwPZRtnlLB/9tkpWjrAt2ZreOeUm8F
  14.     PoUaPrY51lngs5aNFF9HaEKQ2XYm57aYXVu9jtSkiQYx7+qJhzk/CA==
  15.     =yJjY
  16. Originator: austern@isolde.mti.sgi.com
  17.  
  18. satrajit@iscs.nus.sg (Satrajit Sujit Ghosh) writes:
  19.  
  20. >    If a polymorphic constructor can be created as demonstrated below, 
  21. >is RTTI really necessary, considering that it does not really provide a 
  22. >great deal of information.
  23.  
  24. No, RTTI is not really necessary.  `if', `while', and `for' are not
  25. really necessary either, because you can just use `goto'.  Like many
  26. other things, RTTI is not strictly necessary, but convenient.
  27.  
  28. --
  29. Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
  30. WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
  31. PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
  32. ---
  33. [ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
  34.                 newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  35.   comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  36.   Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  37.   Comments? mailto:std-c++-request@ncar.ucar.edu 
  38. ]
  39.